<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="jakarta.tags.core" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<html>
<head>
    <base href="${ctx}/">
    <title>修改学生</title>

    <link rel="stylesheet" href="assets/lib/layui/css/layui.css">
    <link rel="stylesheet" href="assets/modules/student/css/edit.css">

    <script src="assets/lib/jquery/jquery-3.7.1.min.js"></script>
    <script src="assets/lib/layui/layui.js"></script>

    <script>
        const ctx = "${ctx}";
        const id = "${id}";
    </script>

    <script src="assets/modules/student/js/edit.js"></script>
</head>
<body>
<div>
    <form id="student-form" action="">
        <div>
            <label for="stuId">学号：</label>
            <input type="text" id="stuId" name="stuId" autocomplete="off" placeholder="请输入学生学号">
        </div>
        <div>
            <label for="name">姓名：</label>
            <input type="text" id="name" name="name" autocomplete="off" placeholder="请输入学生姓名">
        </div>
        <div>
            <label for="pinyin">拼音：</label>
            <input type="text" id="pinyin" name="pinyin" autocomplete="off" placeholder="请输入学生拼音">
        </div>
        <div>
            <label for="male">性别：</label>

            <input type="radio" id="male" name="sex" checked value="男">
            <label for="male">男</label>

            <input type="radio" id="female" name="sex" value="女">
            <label for="female">女</label>
        </div>
        <div>
            <label for="birthday">出生日期：</label>
            <input type="text" id="birthday" name="birthday" autocomplete="off"
                   placeholder="请输入学生出生日期" readonly>
        </div>
        <div>
            <label for="phone">手机号：</label>
            <input type="text" id="phone" name="phone" autocomplete="off" placeholder="请输入学生手机号">
        </div>
        <div>
            <label for="wechat">微信号：</label>
            <input type="text" id="wechat" name="wechat" autocomplete="off" placeholder="请输入学生微信号">
        </div>
    </form>
</div>
</body>
</html>
